<include file="Public:pagerForm"/>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" action="__CONTROLLER__/index" method="post">
	<div class="searchBar">		
            <table class="searchContent">
                <tr>
                    <td>
                        操作人：<input type="text" name="node_name" />
                    </td>
                    <td>
                        关键字：<input type="text" name="content" />
                    </td>
                    <td>
                        添加时间：<input type="text" name="add_time" class="date" readonly="true" />
                    </td>
                </tr>
            </table>
            <div class="subBar">
                <ul>
                    <li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
                </ul>
            </div>
	</div>
    </form>
</div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="add" href="__CONTROLLER__/show" target="dialog" mask="true"><span>添加</span></a></li>
            <li><a class="delete" href="__CONTROLLER__/del/id/{id_log}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
            <li><a class="edit" href="__CONTROLLER__/show/id/{id_log}" target="dialog" mask="true"><span>修改</span></a></li>
            <li class="line">line</li>
            <!--<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>-->
        </ul>
    </div>
    <table class="table" width="100%" layoutH="138">
        <thead>
            <tr align="center">
                <th width="80"  align="center">序号</th>
                <th width="120" align="center">操作人</th>
                <th width="200" >内容</th>
                <th width="80"  orderField='add_time' <if condition="$_REQUEST['_order'] eq 'add_time'">class="<{$_REQUEST._sort}>"</if> align="center">添加时间</th>
            </tr>
        </thead>
        <tbody>
            <?php $i=1;?> 
            <foreach name='logList' item="list">
            <tr target="id_log" rel="<{$list.id}>">
                <td><{$i}></td>
                <td><{$list.user_id|getUserName}></td>
                <td><{$list.content}></td>
                <td><{$list.add_time|date="Y-m-d H:i",###}></td>                
            </tr>
            <?php $i++;?>
            </foreach>
        </tbody>
    </table>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                <option value="20">20</option>
                <option value="50">50</option>
                <option value="100">100</option>
                <option value="200">200</option>
            </select>
            <span>条，共<{$totalCount}>条</span>          
        </div>
        <div class="pagination" targetType="navTab" totalCount="<{$totalCount}>" numPerPage="<{$numPerPage}>" pageNumShown="6"  currentPage="<{$currentPage}>"></div>
    </div>
</div>
